﻿using UnityEngine;
using System.Collections;
using LuaInterface;
using UnityEngine.UI;

namespace GMBase.Lua
{
    /// <summary>
    /// 调用lua的接口
    /// </summary>
    public class LuaCaller : MonoBehaviour
    {
        // Use this for initialization
        void Start()
        {
            LuaFunction func = LuaEngine.lua.GetFunction("bk.init");
            func.Call(this.gameObject);

            Debug.LogError(LuaInject.GetTestNum());
        }
    }
}